package com.dreams.dream.common.async.disruptor;

public class EventDisruptor {

    protected String topic;

    protected DomainMessage domainMessage;

    public EventDisruptor() {

    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public DomainMessage getDomainMessage() {
        return domainMessage;
    }

    public void setDomainMessage(DomainMessage domainMessage) {
        this.domainMessage = domainMessage;
    }

    public void finalize() {
        domainMessage = null;
    }

}
